{include file="header"}
<div class="layui-card-body" style="padding: 15px;">
<!--基本设置-->
  <div class="layui-fluid">
      <div class="layui-card">
        <div class="layui-card-body" style="padding: 15px;">
        <style type="text/css">
        .layui-form-label {
          width: 100%;
          text-align: left;
          background-color: #f2f2f2;
          padding: 10px 0px;
          }
         .layui-input-block {
          margin-left: 0px;
          }
        </style>
        <form class="layui-form" url="{:url('admin/admin/set_s')}" t_url="javascript:location.reload();">
            <div class="layui-form-item layui-form-text">
                <div class="layui-form-label">
                  <span style="margin-left:10px;">是否开启验证注册【例如邮箱验证,手机验证】</span>
                </div>
                <!--{:set_s('reg')}-->
                <input type="radio" name="reg" value="1" title="是" {if set_s('reg')==1}checked="选择"{/if}>
                <input type="radio" name="reg" value="0" title="否" {if set_s('reg')==0}checked="选择"{/if}>
            </div>
            <div class="layui-form-item layui-form-text">
                <div class="layui-form-label">
                  <span style="margin-left:10px;">开发模式 [打开后基本设置可以自由添加创建变量]</span>
                </div>
                <input type="radio" name="kf" value="1" title="是" {if set_s('kf')==1}checked="选择"{/if}>
                <input type="radio" name="kf" value="0" title="否" {if set_s('kf')==0}checked="选择"{/if}>
            </div>
            <!-- 提交 -->
            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                  <div class="layui-footer" style="left: 0;">
                    <button class="layui-btn" lay-submit="" lay-filter="cms">保存</button>
                  </div>
                </div>
            </div>
        </form>
      </div>
    </div>
</div>
{include file="footer"}